Frequency discrete LC filter bank

ABSTRACT

An inductive (“L”)-capacitive (“C”) filter bank has application for use in a television receiver. The LC filter includes inductors configured in at least one inductive (“L”) bank, and capacitors configured in at least one capacitive (“C”) bank. The inductors and capacitors are selectively enabled so as to configure an LC filter with at least one inductor from the L bank and at least one capacitor from the C bank. A combination of inductors and capacitors are selected through the semiconductor switches so as to maximize a Q factor for the LC filter.

CROSS-REFERENCES TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Patent Application No. 60/386,644, filed Jun. 5, 2002, entitled “Frequency Discrete L-C Tank for TV Tuner”, and U.S. Provisional Patent Application No. 60/386,471, filed Jun. 5, 2002, entitled “Functional Comparator for Binary L-C bank Addressing.”

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention is directed toward the field of discrete passive filters, and more particularly toward a tunable LC filter bank.

[0004] 2. Art Background

[0005] Typically, receivers employ filters to condition both input signals and internally generated reference signals. For example, bandpass, notch, and low pass are types of filters employed in receivers. The frequency response of a filter refers to the characteristics of the filter that condition the signal input to the filter. For example, a bandpass filter may attenuate an input signal across a pre-determined band of frequencies above and below a center frequency of the filter. Filters are designed to exhibit frequency responses based on one or more circuit parameters.

[0006] Some receivers are designed to process input signals with a range of input carrier frequencies (e.g., wide band receivers). For example, television receivers must be capable of processing input television signals with carrier frequencies ranging from 55 MHz to 880 MHz. One circuit parameter used to define the frequency response of a filter is the carrier frequency of an input signal. Thus, such wide band receivers require filters to generate multiple frequency responses to accommodate multiple input carrier frequencies. To accomplish this, some receivers employ tunable filters to process a wide band of input frequencies.

[0007] One type of tunable filter is a varactor type tuner. A popular application for the varactor is in electronic tuning circuits, such as television tuners. A direct current (“DC”) control voltage varies the capacitance of the varactor, re-tuning a resonant circuit (i.e., filter). Specifically, a varactor diode uses a pn junction in reverse bias such that the capacitance of the diode varies with the reverse voltage. However, the relationship between the control voltage and the capacitance in a varactor tuner is not linear. Thus, the capacitance value is based on the signal level. This non-linearity produces distortion in the output of the filter (e.g., a third order product).

[0008] Other receivers, such as television receivers, may employ active filters. The use of a continuous or active filter requires a power supply voltage (e.g., V_(cc)). The power supply voltage exhibits a ripple due to noise on the voltage supply line. This ripple voltage, in turn, causes unacceptable frequency response characteristics on the output of the continuous amplifier. Accordingly, it is desirable to use discrete or passive filters in the receiver to isolate the signal from ripple voltage, thereby improving signal quality.

SUMMARY OF THE INVENTION

[0009] An inductive (“L”)-capacitive (“C”) filter bank has application for use in a television receiver. The LC filter includes a plurality of inductors configured in at least one inductive (“L”) bank, and a plurality of capacitors configured in at least one capacitive (“C”) bank. The inductors and capacitors are selected through use of a plurality of semiconductor switches. Specifically, the semiconductor switches are selectively enabled so as to configure an LC filter with at least one inductor from the L bank and at least one capacitor from the C bank. A combination of inductors and capacitors are selected through the semiconductor switches so as to maximize a Q factor for the LC filter.

[0010] In one embodiment, the semiconductor switches comprise metal oxide semiconductor (MOS) switches. A circuit generates an N code and an M code to selectively enable the switches for selection of at least one inductor in the L bank, and to selectively enable the switches for selection of at least one capacitor in the C bank, respectively. In one embodiment, the C bank comprises four selectable capacitors, and the L bank comprises five selectable inductors. In one embodiment, the LC filter is configured to generate a bandpass frequency response.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011]FIG. 1 is a block diagram illustrating one embodiment for a television tuner that utilizes LC bank filters.

[0012]FIG. 2 is a block diagram illustrating one embodiment for implementing the LC bank filters in a television tuner.

[0013]FIG. 3a illustrates one embodiment for an inductive (L) bank for use in the LC filter bank.

[0014]FIG. 3b illustrates one embodiment for a capacitive bank for use in the LC filter bank of the present invention.

[0015]FIGS. 4a and 4 b are flow diagrams illustrating one embodiment for tuning the LC filter bank for a channel in the VHF spectrum.

[0016]FIG. 5 shows one embodiment for selecting inductors in an inductor bank from the N code.

[0017]FIG. 6 illustrates various resistances for selected inductances of the L bank.

[0018]FIG. 7 is a graph that depicts the relationship between the center frequency of an LC bank filter and the total capacitance as a function of the M code.

[0019]FIG. 8 depicts relationships between the selected M code and center frequency for various combinations of the N code.

[0020]FIG. 9 shows the information for capacitance and M code for selecting capacitors in a C Bank during VHF tuning.

[0021]FIG. 10 shows various resistances for selected capacitances of the C bank.

[0022]FIGS. 11a and 11 b are flow diagrams illustrating one embodiment for tuning the LC filter bank for a channel in the UHF spectrum.

[0023]FIG. 12 shows one embodiment for selecting capacitors in a capacitor bank for UHF tuning.

[0024]FIG. 13 is a graph that depicts the relationship between the center frequency of an LC bank filter and the total inductance as a function of the N-1 code.

[0025]FIG. 14 depicts relationships between the selected N-1 code and center frequency for various combinations of the M code.

[0026]FIGS. 15a and b show the information for selecting inductors in an L Bank during UHF tuning.

[0027]FIG. 16 illustrates various resistances for selected capacitances of the C bank.

[0028]FIG. 17 is a timing diagram that shows timing for tuning the LC filter bank in accordance with one embodiment.

[0029]FIG. 18 illustrates one embodiment for a functional comparator circuit used in one embodiment for tuning the LC filter bank.

[0030]FIG. 19 illustrates one embodiment for a calculator used in the functional comparator circuit of FIG. 18.

[0031]FIG. 20 illustrates a plurality of frequency responses for one embodiment of the LC filter bank.

DETAILED DESCRIPTION

[0032] The disclosures of U.S. Provisional Patent Application No. 60/386,644, filed Jun. 5, 2002, entitled “Frequency Discrete L-C Tank for TV Tuner”, and U.S. Provisional Patent Application No. 60/386,471, filed Jun. 5, 2002, entitled “Functional Comparator for Binary L-C bank Addressing” are hereby expressly incorporated herein by reference.

[0033] The present invention includes one or more inductive (“L”) and capacitive (“C”) filter banks applied to realize a non-varactor type television tuner. In one embodiment, the television tuner is integrated into a single integrated circuit chip. The LC banks are used to implement passive filters. The television tuner optimally selects combinations of inductors and capacitors in the LC bank to tune the television receiver.

[0034]FIG. 1 is a block diagram illustrating one embodiment for a television tuner that utilizes LC bank filters. The television tuner 100 receives a radio frequency (“RF”) television signal, and generates demodulated baseband television signals (i.e., picture and sound signals). For this embodiment, television tuner 100 includes inductive banks 110 and 124, as well as capacitive banks 115 and 126. Inductive bank 110 and capacitive bank 115 comprise LC filter bank 112. Similarly, inductive bank 124 and capacitive bank 126 constitute LC filter bank 125. As described fully below, LC filter banks 110 and 115 provide a band pass filter function for television receiver 100.

[0035] The television circuit 100 also includes inductors 102 and 104 to filter the input RF signal. For this embodiment, the inductors 102 and 104 values are set to 21.8 nano henries (“nH”) and 91.2 nH, respectively. An automatic gain control circuit 120 amplifies the signal, output from LC filter bank 112, for input to the second LC filter bank 125. Inductor 122, with a value of 91.2 nH, adds a parallel inductance to LC filter bank 125. As described more fully below, LC filter banks 112 and 125 generate a band pass frequency response for conditioning of the input signal.

[0036] The television tuner 100 contains one or more down conversion stages. For this embodiment, television tuner 100 includes two quadratic downconverters. A first quadratic downconverter is implemented using mixers 130 and 132, local oscillator 140, and notch filter 150. The first quadratic downconverter converts the frequency of the filtered RF television signal to a first immediate frequency (e.g., 45.75 mega hertz (“MHz”)). In general, a quadratic demodulator splits the input signal, and mixes the input signal with an in-phase (“I”) local oscillator signal and a quadrature phase (“Q”) local oscillator signal. The Q local oscillator signal is phase shifted 90 degrees from the I local oscillator signal.

[0037] A second quadratic downconverter circuit, which receives the output signal from the first quadratic downconverter circuit, includes mixers 160 and 165, local oscillator 170, notch filter 180, and band pass filter 190. The second quadratic downconverter converts the frequency of the first intermediate television signal to a second immediate frequency (e.g., 10.5 mega hertz (“MHz”)).

[0038] The television receiver also includes IF processing 195. The IF processing module 195 generates baseband picture and sound carrier components. One embodiment for IF processing that utilizes a quadratic demodulator to process a television signal is described in U.S. patent application Ser. No. ______ [EXPRESS MAIL NO.: EL 909174649], entitled Quadratic Nyquist Slope Filter, filed Sep. 30, 2002, which is expressly incorporated herein by reference.

[0039]FIG. 2 is a block diagram illustrating one embodiment for implementing the LC bank filters in a television tuner. A television receiver 200 includes inductive “L” banks A and B. For this embodiment, the L banks are implemented external to an integrated circuit 200. The L bank “A” consists of five inductors (202, 204, 206, 208, and 209). Similarly, L bank “B” contains five inductors (212, 214, 216, 218, and 219). Each inductor of inductive bank A is electrically coupled to integrated circuit 200 through an input/output (“I/O”) pad (i.e., pad Al couples conductive 202, pad A2 couples inductors 204, pad A3 couples inductive 206, pad A4 couples inductor 208, and pad A5 couples inductor 209). Similarly, an I/O pad is provided for each inductor in L bank B (i.e., pad B1 couples inductor 212, pad B2 couples inductor 214, pad B3 couples inductor 216, pad B4 couples inductor 218, and pad B5 couples inductor 219). A switch is provided for each inductor in both L banks A and B (switches 203, 205, 207, 208 and 211 for L bank A, and switches 213, 215, 217, 221 and 223 for L bank B). A total inductance is generated for each L bank by selectively coupling the external inductors to the television receiver circuit through the switches. Specifically, a digital code (hereafter referred to as the N code) is applied to the switches to select inductors in the L bank. In one embodiment, the switches are implemented using metal oxide semiconductor (“MOS”) transistors.

[0040] L bank A has a corresponding capacitive (“C”) bank A, labeled 220 in FIG. 2. Similarly, L bank B has a corresponding capacitive bank B, labeled 210 in FIG. 2. In one embodiment, the C bank contains four capacitors per bank. As shown in FIG. 2, C bank 220 includes a plurality of capacitors (225, 222, 224, and 227) coupled to a plurality of switches (232, 231, 229 and 228). The capacitors are selected using a code (hereafter referred to as an M code), to control the switches that couple the capacitors to the television receiver circuit.

[0041] The television receiver circuit 200 includes circuitry to select or program the LC filter banks. In general, television receiver 200 generates the M code and N code to selectively program the LC filter banks. By selecting different combinations of inductors (L bank) and capacitors (C bank), different filter characteristics (i.e., frequency responses) are realized. For the embodiment shown in FIG. 2, television receiver 200 receives information, referred to as a channel code, that specifies the desired television channel. In one embodiment, the channel code is received by bus transceiver 270, using its external pins (ENB, SCL, and SDA). A programmable divider 240 is used to digitize at least a portion of the channel code (e.g., 10 bits). The programmable divider 240 is also used to digitize an LC oscillation frequency. The LC oscillation frequency is the center frequency for a tuned cavity generated by the combination of selected inductors and capacitors from the LC banks. The LC oscillation frequency is generated using amplifier (AGC) 230. The tuning circuit for television receiver 200 includes a timing reference, and associated circuitry to generate various timing signals. An oscillator circuit, which uses a 16 MHz crystal (255), is coupled to a divider 250 to generate timing signals.

[0042] Television receiver 200 also includes a plurality of digital to analog (D/A) circuits 262 to convert digital values to analog currents. In one embodiment, the analog currents are used in a calculator 264 and a comparator circuit 268 for tuning of the LC filter banks. Register 272 stores a digital value, A. The digital values for M code and N code are stored in registers 274 and 276, respectively. As shown in FIG. 2, digital values (A, M, N and FLC, and frequency of the channel code “Fch”) are input to D/A circuits 262. As shown in FIG. 2, the calculator 264 and comparator circuit 268 generates a value for A, the M code and the N code using the timing from timing circuit 260.

[0043]FIG. 3a illustrates one embodiment for an inductive (L) bank for use in the LC filter bank. For this embodiment, the inductive bank includes five inductors (315, 320, 325, 330 and 340). Although the inductive bank 300 includes five inductors, any number of inductors may be used without deviating from the spirit or scope of the invention. In one embodiment, the number and values for the inductors is a function of the desired frequency response characteristics of the LC filter bank. The inductors, which form inductive bank 300, are configured in parallel. For the embodiment of FIG. 3a, the inductor values are 5.7, 11.4, 22.8, 45.6, and 91.2 nH. Each inductor is added to the L bank through a corresponding switch (switches 310, 308, 306, 304 and 302). In one embodiment, the switches are implemented using metal oxide semiconductor (“MOS”) transistors.

[0044]FIG. 3b illustrates one embodiment for a capacitive bank for use in the LC filter bank of the present invention. For this embodiment, capacitive bank 350 contains five capacitors (360, 362, 364, 366 and 368). For this embodiment, the capacitor values are 3.7, 9.4, 17, 32.8 and 64.6 pF. A different number of capacitors and different capacitive values may be selected to implement filters for the LC filter bank with different frequency responses. Also, as shown in FIG. 3b, capacitors 360, 362, 364 and 366 are selected for the C bank through switches 358, 356, 354 and 352, respectively. In one embodiment, the switches are implemented with MOS transistors.

[0045]FIGS. 4a and 4 b are flow diagrams illustrating one embodiment for tuning the LC filter bank for a channel in the VHF spectrum. The process is initiated by selecting an initial value for the inductance, L, (i.e., N code) and capacitance, C (i.e., M code) (block 400, FIG. 4a). In one embodiment, M is set to a value of binary 0100, and N is set to a value of binary 0001. A variable, A, is used to determine an offset between the currently tuned LC oscillator frequency, FLC, and the desired tuned channel frequency, FCh. In one embodiment, A comprises a five bit digital value. The variable, A, is set to an initial condition (block 410, FIG. 4). In one embodiment, the initial condition is equal to “10000.” The circuit obtains a sample value for the LC oscillator frequency (“FLC”) (block 420, FIG. 4a). The LC oscillator frequency is converted from an analog signal to a digital value using a high-speed divider. The comparator circuit (285, FIG. 2) is used to evaluate the expression:

CF _(LC) ² =A ²(1/L)

[0046] In one embodiment, digital values for C (i.e., M code), F_(LC), A, and L (i.e., N code) are converted to analog currents using a digital to analog converter, and the analog currents are input to a calculator, to generate both numeric sides of the expression, and a comparator to evaluate the expression (See FIGS. 11 & 12). If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is greater than A²(1/L), then the digital value for A is incremented (blocks 425, 427 and 430, FIG. 4a). For example, after the first evaluation, if CF_(LC) ² is greater than A²(1/L), then the initial value of A, 10000, is incremented to the value of 10001. If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is less than A² (1/L), then the digital value for A is decremented (blocks 425, 427 and 428, FIG. 4a). For example, after the first evaluation, if CF_(LC) is less than A²(1/L), then the initial value of A, 10000, is decremented to the value of 01111. This process repeats until the expression evaluates to true. When the expression evaluates to true, the offset, A, has been calculated. The offset is stored in a register for subsequent use (block 440, FIG. 4a).

[0047] To tune the input VHF channel, a value for the N code is first determined. The selection of N (inductive selection) results in coarse tuning a channel in the VHF spectrum. The circuit sets an initial value for the N code (block 450, FIG. 4a). In one embodiment, N is set to a value of 00001. Also, values are selected for M and F_(ch) (block 455, FIG. 4a). In one embodiment, the M code is set to a value of 0100, and F_(ch) is set to the value of the channel code (i.e., the desired tuned frequency).

[0048] A circuit evaluates the expression:

CF _(ch) ² =A ²(1/L).

[0049] In one embodiment, digital values for C (i.e., M code), F_(ch), A, and L (i.e., N code) are converted for evaluation of the expression. If the expression is not true (i.e., CF_(ch) ² does not equal A²(/L)), then the digital value for N is incremented (blocks 465 and 470, FIG. 4a). For example, after the first evaluation, if CF_(LC) ² is not equal to A²(1/L), then the initial value of N, 00001, is incremented to the value of 00010. This process repeats until the expression evaluates to true. When the expression evaluates to true, the N code has been determined, and the L bank is set based on the N code (block 455, FIG. 4a).

[0050] The process re-calculates the offset, A, after the course tuning procedure. The variable, A, is set to an initial condition (e.g., 10000) (block 462, FIG. 4b). The circuit obtains a new sample value for the LC oscillator frequency, F_(LC), after the course tuning (block 464, FIG. 4b). The frequency, F_(LC), is converted from an analog signal to a digital value using a high-speed divider. The following expression is evaluated:

CF _(LC) ² =A ²(1/L)

[0051] If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is greater than A²(1/L), then the digital value for A is incremented (blocks 466, 468 and 470, FIG. 4b). If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is less than A²(1/L), then the digital value for A is decremented (blocks 466, 468 and 469, FIG. 4b). This process repeats until the expression evaluates to true. When the expression evaluates to true, the new offset, A, has been calculated. The offset is stored in a register for subsequent use (block 472, FIG. 4b).

[0052] Next, a value for the M code, and consequently C, is determined. The selection of M results in fine tuning a channel in the VHF spectrum. First, an initial value is set for M (block 474, FIG. 4b). In one embodiment, M is initially set to a value of 0000. Also, the values for F_(ch) and N code are selected. F_(ch) represents the frequency of the channel code. The N code was set from the coarse tuning stage. The expression, F_(ch) ^(1.5)C=A¹⁵(1/L), is evaluated to determine if it is true (block 478, FIG. 4b). In one embodiment, these digital values are converted to analog current values using digital to analog converters. The analog current values are then weighted in accordance with the expression (e.g., A^(1.5), F_(ch) ^(1.5), etc.) using a calculator, and then compared using a comparator (See FIGS. 11 and 12). If the expression does not evaluate to true, the M code is incremented (block 480, FIG. 4b), and the expression is again evaluated with the new M code. This process is repeated until the expression evaluates to true. With the expression evaluates to true, the capacitive bank is set based on the M code (block 490, FIG. 4b).

[0053]FIG. 5 shows one embodiment for selecting inductors in an inductor bank from the N code. The first column of FIG. 5 shows inductor values for the corresponding inductors in the inductor bank shown in column 2. For example, inductor L5 has a value of 5.7 nH, while inductor L1 has a value of 91.2 nH. Note that inductor L0 is always selected. A binary N code for selecting inductors in the inductor bank is shown. For example, column 3 shows selection of inductor L0 for the N code of 00000. The last column of FIG. 5 shows selection of inductors from the inductor bank for the N code of 00111. Specifically, the “00111” N code specifies selection of inductors L0, L1, L2 and L3 from the inductor bank. The last row of FIG. 5 shows the total inductance for the corresponding N code. For example, for the “00000” N code, the total inductance of the inductance bank is equal to 91.2 nH. The total inductance for the “00111” N code is equal to 11.4 nH.

[0054] The inductors and capacitors are selected from the C and L banks, respectively, the use of switches (e.g., MOS transistors). A resistance is introduced into the LC bank filter response by each transistor. Thus, each capacitor selected in the C bank increases the series resistance. The increase in series resistance, or decrease in parallel resistance, decreases the Q factor, which, in turn, degrades performance of the LC bank filter.

[0055] In general, a Q factor is measured based on the expression:

Q=2¶fRC

[0056] In one embodiment, the receiver selects a combination of inductors and capacitors to configure an LC filter bank so as to maximize the Q factor. As shown by the above expression, the larger the parallel resistance and capacitance, the greater the Q factor. It is an objective to maximize the Q factor through proper selection of inductance and capacitance combinations from the LC banks.

[0057]FIG. 6 illustrates various resistances for selected inductances of the L bank. Specifically, column two lists a resistance, r_(sl), from the corresponding inductor. For example, L5 has a resistance of 0.7 ohms. The third column lists the resistance, R_(MOS), from the MOS transistor for the corresponding inductor. For example, L4 has a RMOS resistance of 1.6 ohms. The fourth column lists the total series resistance, r_(s), from selecting the corresponding inductor. For example, L3 has a total series resistance, r_(s), of 2.8 ohms. The last row of FIG. 6 lists the total series resistance for the corresponding N code. For example, an N code of 00010 has a total series resistance of 2.4 ohms. The circuit selects combinations of the inductors from an L bank to reduce the total series resistance and thus maximize the Q factor.

[0058]FIG. 7 is a graph that depicts the relationship between the center frequency of an LC bank filter and the total capacitance as a function of the M code. As shown in FIG. 7, for center frequencies in the VHF spectrum, a higher M code (i.e., overall capacitance) yields a higher frequency. FIG. 7 also depicts the relationship between the M code and center frequency of the LC bank filter (and the desired channel) for each value of the N code.

[0059] In order to maximize the Q factor, only certain combinations of the N code and M code are used. FIG. 8 depicts relationships between the selected M code and center frequency for various combinations of the N code. Note that the relationship between the center LC bank filter frequency and the M code is now confined to the center of a graph. This relationship minimizes the Q factor, and optimizes the response of the LC filter bank.

[0060] As discussed above, the tuning circuit of the present invention only selects certain combinations of N and M codes to configure the LC bank filter. FIG. 9 shows the information for capacitance and M code for selecting capacitors in a C Bank during VHF tuning. The first column of FIG. 9 lists the total capacitance, which ranges from 3.7 pF to 127.7 pF, for the C bank. The second column identifies an M code to obtain the corresponding capacitance value in column one. For example, a decimal M code of 12 yields a total capacitance of 101.3 pF. Column 3 of FIG. 9 shows valid selections for the M code based on the frequency and the value of the N code. For example, in column 3, a list of frequencies is shown for valid selections of the M code when the N code is equal to 1. Specifically, column 3 shows that for these frequencies and N code, the M code has a valid range between 8 and 16 (decimal).

[0061]FIG. 10 shows various resistances for selected capacitances of the C bank. Column two lists a resistance, R_(MOS), for a corresponding capacitor. For example, M code 10 (decimal) has a resistance of 1.8 ohms. The circuit selects combinations of the capacitors from a C bank to reduce the total series resistance and thus maximize the Q factor.

[0062]FIGS. 11a and 11 b are flow diagrams illustrating one embodiment for tuning the LC filter bank for a channel in the UHF spectrum. The process is initiated by selecting an initial value for the inductance, L, (i.e., N code) and capacitance, C (i.e., M code) (block 700, FIG. 11a). In one embodiment, M is set to a value of binary 0001, and N is set to a value of binary 10000. The variable, A, is set to an initial condition (block 710, FIG. 11a). In one embodiment, the initial condition is equal to “10000.”

[0063] The circuit obtains a sample value for the LC oscillator frequency (“FLC”) (block 720, FIG. 11a). The LC oscillator frequency is converted from an analog signal to a digital value using a high-speed divider. The following expression is evaluated:

CF _(LC) ² =A ²(1/L).

[0064] If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is greater than A²(1/L), then the digital value for A is incremented (blocks 725, 727 and 730, FIG. 11a). For example, after the first evaluation, if CF_(LC) ² is greater than A²(1/L), then the initial value of A, 10000, is incremented to the value of 10001. If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is less than A²(1/L), then the digital value for A is decremented (blocks 725, 727 and 728, FIG. 11a). For example, after the first evaluation, if CF_(LC) ² is less than A²(1/L), then the initial value of A, 10000, is decremented to the value of 01111. This process repeats until the expression evaluates to true. When the expression evaluates to true, the offset, A, has been calculated. The offset is stored in a register for subsequent use (block 740, FIG. 11a).

[0065] To tune the input UHF channel, a value for the M code is first determined. The selection of M (capacitive selection) results in coarse tuning a channel in the UHF spectrum. The circuit sets an initial value for the M code (block 750, FIG. 11a). In one embodiment, M is set to a value of 00001. Also, values are selected for N and F_(ch) (block 755, FIG. 1a). The N code is set to a value of 10000, and F_(ch) is set to the value of the channel code (i.e., the desired tuned frequency).

[0066] A circuit evaluates the expression:

CF _(ch) ^(1.5)=2(A ^(1.5)(1/L)).

[0067] If the expression is not true (i.e., CF_(ch) ¹⁵ does not equal 2(A^(1.5)(1/L))), then the digital value for M is incremented (blocks 765 and 770, FIG. 11a). For example, after the first evaluation, if CF_(ch) ^(1.5) is not equal to 2(A^(1.5)(1/L)) then the initial value of M, 00001, is incremented to the value of 00010. This process repeats until the expression evaluates to true. When the expression evaluates to true, the M code has been determined, and the C bank is set based on the M code (block 755, FIG. 11a).

[0068] The process re-calculates the offset, A, after the course tuning procedure. The variable, A, is set to an initial condition (e.g., 10000) (block 762, FIG. 11b). The circuit obtains a new sample value for the LC oscillator frequency, F_(LC), after the course tuning (block 764, FIG. 11b). The frequency, F_(LC), is converted from an analog signal to a digital value using a high-speed divider. The following expression is evaluated:

CF _(LC) ² =A ²(1/L)

[0069] If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is greater than A²(1/L), then the digital value for A is incremented (blocks 766, 768 and 770, FIG. 11b). If the expression is not true (i.e., CF_(LC) ² does not equal A²(1/L)), and CF_(LC) ² is less than A²(1/L), then the digital value for A is decremented (blocks 766, 768 and 769, FIG. 11b). This process repeats until the expression evaluates to true. When the expression evaluates to true, the new offset, A, has been calculated. The offset is stored in a register for subsequent use (block 772, FIG. 11b).

[0070] Next, a value for the N code, and consequently L, is determined. The selection of the N code results in fine tuning a channel in the UHF spectrum. First, an initial value is set for N (block 774, FIG. 11b). In one embodiment, N is initially set to a value of 0000. Also, the values for F_(ch) and M code are selected. F_(ch) represents the frequency of the channel code. The M code was set from the coarse tuning stage. The expression, F_(ch) ²⁰C=A^(2.0)(1/L), is evaluated to determine if it is true (block 778, FIG. 11b). In one embodiment, these digital values are converted to analog current values using digital to analog converters. The analog current values are then weighted in accordance with the expression (e.g., A^(2.0), F_(ch) ^(2.0), etc.) using a calculator, and then compared using a comparator (See FIGS. 11 and 12). If the expression does not evaluate to true, the N code is incremented (block 780, FIG. 11b), and the expression is again evaluated with the new N code. This process is repeated until the expression evaluates to true. With the expression evaluates to true, the inductive bank is set based on the N code (block 790, FIG. 11b).

[0071]FIG. 12 shows one embodiment for selecting capacitors in a capacitor bank for UHF tuning. The first column of FIG. 12 shows capacitor values for the corresponding capacitors listed in column 2. For example, capacitor C3 has a value of 32.8 pF, while capacitor C1 has a value of 9.4 pF. Note that capacitor C0 is always selected. A binary M-1 code for selecting capacitors in a capacitor bank is shown. For example, column 3 shows selection of capacitor C0 for the M-1 code of 00001. The last column of FIG. 12 shows selection of capacitors from the capacitor bank for the M-1 code of 01111. Specifically, the “01111” M-1 code specifies selection of capacitors C0, C1, C2 and C3 from the capacitor bank. The last row of FIG. 12 shows the total capacitance for the various M-1 codes. For example, for the “00001” M-1 code, the total capacitance of the capacitor bank is equal to 3.7 pF. The total capacitance for the “01111” M-1 code is equal to 62.9 pF.

[0072]FIG. 13 is a graph that depicts the relationship between the center frequency of an LC bank filter and the total inductance as a function of the N-1 code. As shown in FIG. 13, for center frequencies in the UHF spectrum, a lower N−1 code (i.e., overall inductance) yields a higher center frequency. FIG. 13 also depicts the relationship between the N-1 code and center frequency of the LC bank filter (and the desired channel) for each value of the M code. For example, curve 870 shows the relationship between the center frequency of an LC bank filter and the total inductance as a function of the N−1 code when M is equal to 7.

[0073] As discussed above, in order to maximize the Q factor, only certain combinations of the N code and M code are used. FIG. 14 depicts relationships between the selected N−1 code and center frequency for various combinations of the M code. Note that the relationship between the center LC bank filter frequency and the N−1 code is now confined to the center of a graph. This relationship minimizes the Q factor, and optimizes the response of the LC filter bank.

[0074]FIGS. 15a and b show the information for selecting inductors in an L Bank during UHF tuning. The first column of FIGS. 15a and b lists the total inductance, which ranges from 2.85 nH to 91.2 nH, for the L bank. The second column identifies an N−1 code to obtain the corresponding inductance values of column one. For example, a decimal N−1 code of 27 yields a total inductance of 3.3 nH. Column 3 of FIGS. 15a and b shows valid selections for the N−1 code based on the frequency and the value of the M code. For example, in column 3, a list of frequencies is shown for valid selections of the N-1 code when the M code is equal to 1. Specifically, column 3 shows that for these frequencies and N−1 code, the M code has a valid range between 11 and 32 (decimal).

[0075]FIG. 16 illustrates various resistances for selected capacitances of the C bank. The third column of FIG. 16 lists the resistance, R_(MOS), from the MOS transistor for the corresponding capacitor. For example, C2 has a R_(MOS) resistance of 0.66 ohms. The fourth column lists the total series resistance, r_(s), from selecting the corresponding capacitor. For example, C4 has a total series resistance, r_(s), of 1.8 ohms. The circuit selects combinations of capacitors from a C bank to reduce the total series resistance and thus maximize the Q factor.

[0076]FIG. 17 is a timing diagram that shows timing for tuning the LC filter bank in accordance with one embodiment. As shown in FIG. 17, there are five operations to tune the LC filter bank for a channel in the VHF spectrum. For this embodiment, a timing signal has a frequency of 31.25 kHz. First, a frequency measurement of the LC oscillator frequency is made. As shown in FIG. 17, the LC oscillator frequency measurement occurs in a single 16 micro second cycle. As described in FIG. 4a, an offset, A, which indicates the difference between the LC oscillator frequency and the desired frequency, is calculated. The process to calculate the offset, an iterative process, occurs over sixty-four (64) steps (i.e., the value for A is determined in a loop that consists of no more than 64 iterations). As shown in FIG. 17, each step occurs within 16 microseconds.

[0077] When tuning the circuit for a desired channel in the VHF spectrum, inductors for the inductor bank are selected first. In one embodiment, the process to select the N code occurs in no more than 32 steps. Again, each step occurs within a 16 micro second cycle.

[0078] After inductors for the L bank are selected, a new offset, A, based on the selected inductor bank, is calculated (see FIG. 4b). As shown in FIG. 17, calculation of the new offset, A, occurs within no more than 64 steps.

[0079] The fifth operation shown in FIG. 17 selects capacitors from the C. bank. As shown in FIG. 17, the process to select the M code occurs in no more than 16 steps, with each step having a period of 16 micro seconds. As discussed above in conjunction with FIGS. 11a and 11 b, tuning for channels in the UHF spectrum involves selecting the M code (tuning the capacitor bank) and then selecting the N code (tuning the inductor bank).

[0080]FIG. 18 illustrates one embodiment for a functional comparator circuit used in one embodiment for tuning the LC filter bank. A comparator circuit 1100 is used to evaluate expressions. In general, functional comparator circuit 1100 calculates expressions using analog currents. Specifically, for this embodiment, functional comparator circuit 1100 evaluates the expressions:

CF _(LC) ² =A ²(1/L)  (1)

CF _(ch) ² =A ²(1/L)  (2)

CF _(ch) ¹⁵=2(A ^(1.5)(1/L))  (3)

F _(ch) ^(1.5) C=A ^(1.5)(1/L)  (4)

[0081] The above expressions may also be written as:

C/A ²=(1/L)/F _(LC) ²  (1)

C/A ²=(1/L)/F _(ch) ²  (2)

C/2A ^(1.5)=(1/L)/F _(ch) ^(1.5)  (3)

C/A ^(1.5)=(1/L)/F _(ch) ^(1.5)  (4)

[0082] The left-hand side of the above expressions (i.e., C/A², C/2A¹⁵, and C/A^(1.5)) are generated using transistors 1112, 1114, and 1118, switches 1120 and 1122, current sources 1130 and 1140 and calculator 1200. Switches 1120 and 1122 are set to select either the 1.5 or 2.0 exponent for the offset variable, A. For example, to evaluate the expression C/A^(1.5), switch 1120 is set to couple the current, I_(1.5), for input to calculator 1200.

[0083] In one embodiment, current source 1130 is coupled to a digital to analog converter to convert the digital M code value to an analog current, IC. The analog current, IC, represent the capacitance and the C bank. The current sources 1140, also coupled to a digital to analog converter, converts the digital offset value, A, to an analog current, IA. The output of calculator 1200, V_(out), is input to comparator 1110. The V_(out) voltage represents a value for the left-hand expression.

[0084] The right hand side of the above expressions (i.e., (1/L)/F_(ch) ¹⁵, (1/L)/F_(LC) ², and (1/L)/F_(ch) _(1.5)) are generated using transistors 1102, 1104, and 1106, switches a 1108 and 1110, and current sources 1109 and 1111. Switches 1108 and 1110 are used to select the appropriate exponent for the frequency. For example, if the current expression for evaluation is (1/L)/F_(LC) ², then switch 1110 is set. The current source 1111 generates an analog current proportional to the inductor value for the L bank. In one embodiment, the current source 1111 is coupled to an output from a digital to analog converter that converts the digital value of the N code to an analog current. The current source 1109, also coupled to a digital to analog converter, converts the frequency (LC oscillator frequency or channel code frequency) to an analog current. The output of calculator 1200 generates a voltage, V_(out), for the right hand expression.

[0085] The left-hand expression and right hand expression are input to comparator 1110. The comparator 1110 compares the V_(out), generated by the left-hand side of the expression, with the V_(out) generated by the right hand side of the expression.

[0086]FIG. 19 illustrates one embodiment for a calculator used in the functional comparator circuit of FIG. 18. The calculator circuit receives, as inputs, the weighted currents for frequency or offset, as well as the analog currents for inductance or capacitance. As shown in FIG. 19, the weighted currents for frequency or offset, A, with an exponent of two is input to transistors 1204, 1206, and 1210. The weighted currents for frequency or offset, A, with an exponent of 1.5 are input to transistors 1212 and 1222. The analog current for inductance or capacitance is input to the base of bipolar transistor 1224. In turn, comparator circuit generates a voltage in accordance with the following expression: ${Vout} = {{Vt}\quad {\ln \left( {\frac{1}{Is}\frac{Inum}{Iden}} \right)}}$

[0087]FIG. 20 illustrates a plurality of frequency responses for one embodiment of the LC filter bank. As shown in FIG. 20, the LC filter bank, through selection of different inductors and capacitors, generates a wide range of frequency responses. The LC filter bank is a tunable filter that may be used in circuits that operate on a wide range of frequencies, such as a television receiver.

[0088] The LC filter banks filters (i.e., discrete passive filters) enhance the performance of the tuner circuit. The use of a continuous or active filter requires a power supply voltage (e.g., V_(cc)). The power supply voltage exhibits a ripple due to noise on the voltage supply line. This ripple voltage, in turn, causes unacceptable frequency response characteristics on the output of the continuous amplifier. Thus, the use of the discrete or passive filters in the receiver isolate the signal from ripple voltage, thereby improving signal quality.

[0089] Although the present invention has been described in terms of specific exemplary embodiments, it will be appreciated that various modifications and alterations might be made by those skilled in the art without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A filter comprising: at least one inductive (“L”) bank comprising a plurality of inductors; at least one capacitive (“C”) bank comprising a plurality of capacitors; and a plurality of semiconductor switches, coupled to said L bank and said C bank, said semiconductor switches selectively enabled so as to configure an LC filter comprising at least one inductor from said L bank and at least one capacitor from said C bank, said semiconductor switches enabled to configure said LC filter comprising a predetermined resistance, so as to maximize a Q factor for said LC filter.
 2. The filter as set forth in claim 1, wherein said semiconductor switches comprise metal oxide semiconductor (MOS) switches.
 3. The filter as set forth in claim 1, further comprising a circuit for generating an N code for selectively enabling said switches to select at least one inductor in said L bank based on said N code.
 4. The filter as set forth in claim 1, further comprising a circuit for generating an M code for selectively enabling said switches to select at least one capacitor in said C bank based on said M code.
 5. The filter as set forth in claim 1, wherein said LC filter is configured to generate a bandpass frequency response.
 6. The filter as set forth in claim 1, wherein said C bank comprises four selectable capacitors.
 7. The filter as set forth in claim 1, wherein said L bank comprises five selectable inductors.
 8. A television receiver comprising: down conversion circuit for tuning an input television signal; at least one tunable inductive (“L”)-capacitive (“C”) filter in said down conversion circuit, said tunable LC filter comprising: said at least one inductive (“L”) bank a plurality of inductors; at least one capacitive (“C”) bank comprising a plurality of capacitors; and a plurality of semiconductor switches, coupled to said L bank and said C bank, said semiconductor switches selectively enabled so as to configure an LC filter comprising at least one inductor from said L bank and at least one capacitor from said C bank, said semiconductor switches enabled to configure said LC filter comprising a pre-determined resistance, so as to maximize a Q factor for said LC filter.
 9. The television receiver as set forth in claim 8, wherein said semiconductor switches comprise metal oxide semiconductor (MOS) switches.
 10. The television receiver as set forth in claim 8, further comprising a circuit for generating an N code for selectively enabling said switches to select at least one inductor in said L bank based on said N code.
 11. The television receiver as set forth in claim 8, further comprising a circuit for generating an M code for selectively enabling said switches to select at least one capacitor in said C bank based on said M code.
 12. The television receiver as set forth in claim 8, wherein said LC filter is configured to generate a bandpass frequency response.
 13. The television receiver as set forth in claim 8, wherein said C bank comprises four selectable capacitors.
 14. The television receiver as set forth in claim 8, wherein said L bank comprises five selectable inductors.
 15. A method for configuring a filter, said method comprising the steps of: providing at least one inductive (“L”) bank comprising a plurality of inductors; providing at least one capacitive (“C”) bank comprising a plurality of capacitors; coupling a plurality of semiconductor switches to said L bank and said C bank; selectively enabling said semiconductor switches so as to configure an LC filter comprising at least one inductor from said L bank and at least one capacitor from said C bank, wherein said semiconductor switches enabled to configure said LC filter comprise a pre-determined resistance, so as to maximize a Q factor for said LC filter.
 16. The method as set forth in claim 15, wherein said semiconductor switches comprise metal oxide semiconductor (MOS) switches.
 17. The method as set forth in claim 15, further comprising the step of generating an N code for selectively enabling said switches to select at least one inductor in said L bank based on said N code.
 18. The method as set forth in claim 15, further comprising the step of generating an M code for selectively enabling said switches to select at least one capacitor in said C bank based on said M code.
 19. The method as set forth in claim 15, wherein said LC filter is configured to generate a bandpass frequency response.
 20. The method as set forth in claim 15, wherein said C bank comprises four selectable capacitors.
 21. The method as set forth in claim 15, wherein said L bank comprises five selectable inductors. 